package com.ruoyi.system.domain;

import java.util.List;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 学习培训经历对象 education_training
 * 
 * @author ruoyi
 * @date 2025-05-22
 */
public class EducationTraining extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private String id;

    /** 员工ID */
    @Excel(name = "员工ID")
    private String employeeId;

    /** 类型(1=学历教育,2=培训) */
    @Excel(name = "类型(1=学历教育,2=培训)")
    private Integer type;

    /** 机构名称 */
    @Excel(name = "机构名称")
    private String institution;

    /** 专业 */
    @Excel(name = "专业")
    private String major;

    /** 开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date startDate;

    /** 结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date endDate;

    /** 证书名称及编号 */
    @Excel(name = "证书名称及编号")
    private String certificate;

    /** 员工基本信息信息 */
    private List<EmployeeBasicInfo> employeeBasicInfoList;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }

    public void setEmployeeId(String employeeId) 
    {
        this.employeeId = employeeId;
    }

    public String getEmployeeId() 
    {
        return employeeId;
    }

    public void setType(Integer type) 
    {
        this.type = type;
    }

    public Integer getType() 
    {
        return type;
    }

    public void setInstitution(String institution) 
    {
        this.institution = institution;
    }

    public String getInstitution() 
    {
        return institution;
    }

    public void setMajor(String major) 
    {
        this.major = major;
    }

    public String getMajor() 
    {
        return major;
    }

    public void setStartDate(Date startDate) 
    {
        this.startDate = startDate;
    }

    public Date getStartDate() 
    {
        return startDate;
    }

    public void setEndDate(Date endDate) 
    {
        this.endDate = endDate;
    }

    public Date getEndDate() 
    {
        return endDate;
    }

    public void setCertificate(String certificate) 
    {
        this.certificate = certificate;
    }

    public String getCertificate() 
    {
        return certificate;
    }

    public List<EmployeeBasicInfo> getEmployeeBasicInfoList()
    {
        return employeeBasicInfoList;
    }

    public void setEmployeeBasicInfoList(List<EmployeeBasicInfo> employeeBasicInfoList)
    {
        this.employeeBasicInfoList = employeeBasicInfoList;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("employeeId", getEmployeeId())
            .append("type", getType())
            .append("institution", getInstitution())
            .append("major", getMajor())
            .append("startDate", getStartDate())
            .append("endDate", getEndDate())
            .append("certificate", getCertificate())
            .append("employeeBasicInfoList", getEmployeeBasicInfoList())
            .toString();
    }
}
